package com.fjc.dao;


import com.fjc.domain.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeacherMapper {
    int insert(Teacher record);

    int insertSelective(Teacher record);

    Teacher selectTeacherByIdWithStudents(int tid);

    int insertBackId(Teacher teacher);

    List<Teacher> selectTeachersBytids(@Param("tids") List<Integer> tids);

    int updateTest(Teacher tname);
}